class Person {
  //   public name: string = "";
  //   constructor(v: string) {
  //     this.name = v;
  //   }
  //   constructor(public name: string) {}
}

class Teacher extends Person {
  constructor(public age: number) {
    // super('Tery')
    super();
  }
}
// const person = new Person("TT");
const teacher = new Teacher(18);
// console.log(person.name);
console.log(teacher.age);
